import 'package:freezed_annotation/freezed_annotation.dart';

part 'af_oss_policy_model.freezed.dart';
part 'af_oss_policy_model.g.dart';

@freezed
class AfOssPolicyModel with _$AfOssPolicyModel {
  factory AfOssPolicyModel({
    String? accessKeyId,
    String? callback,
    String? dir,
    String? expire,
    String? host,
    String? policy,
    String? signature,
  }) = _AfOssPolicyModel;

  factory AfOssPolicyModel.fromJson(Map<String, dynamic> json) =>
      _$AfOssPolicyModelFromJson(json);
}
